import { ref } from 'vue'

const store = () => {
  return {
    data: ref({}),
  
    getData() {
      return this.data.value
    },
  
    setData(data) {
      this.data.value = data
    },
  
    list: ref([]),
  
    getList() {
      return this.list.value
    },
  
    setList(list) {
      this.list.value = list
    }
  }
}

export default store